var thisPage = {
    first: 0,
    // 初始化页面
    OnPageLoad: function () {
        $("#loading").hide();
    },
    //选择后执行的动作
    OnSetTimePoint: function () {
        //设置选择结果
        var item = new Array($("#TimePoint").val());
        window.parent.arrChoice.push(item);
        window.parent.choice_success = true;
        closePopupWnd();
    }
};

//-----------------------------------------------------------------------------
// 页面初始化
//-----------------------------------------------------------------------------
function onPageReady() {
    window.laydate.render({
        elem: '#TimePoint',
        theme: '#393D49',
        trigger: 'click'
    });
    thisPage.OnPageLoad();
}

// 画面大小或者位置移动
function onPageResize() {
    var w = $(window).width();
}